﻿using FluentNHibernate.Mapping;
using nsadv.Statistic.Domain;

namespace nsadv.Statistic.Repository.NHibernate.Config.Maps
{
	public class AdvertiserMap : ClassMap<Advertiser>
	{
		public AdvertiserMap()
		{
			Table("Advertisers");
			Id(x => x.Id)
				.Length(50);
			Map(x => x.Name);
		}
	}
}
